ImageOptimization\Modules\Optimization\Classes\Optimize_Image S

Total Complexity 41
Dependencies 22
Dependents 7
Total lines 336
Lines of code 213
Logical lines of code 110
Comment lines 48
Methods 9
Properties 10

Methods 9

Method Rating Maintainability Complexity Lines of code
optimize()
A
43 10 50
send_file()
A
42 9 53
replace_image_file()
S
50 7 30
optimize_current_size()
S
52 5 23
update_attachment_meta()
S
53 4 22
update_attachment_post()
S
59 3 14
update_posts()
S
72 1 6
mark_as_optimized()
S
73 1 6
__construct()
S
65 1 9